﻿using System;
namespace Pay.DTO {
	/// <summary>
	/// 银行卡请求
	/// </summary>
	[Serializable]
	public class bank_info_model : head_req {
		public bank_info_model() {
		}
		/// <summary>
		/// 卡号
		/// </summary>
		public string account_no { get; set; }
		/// <summary>
		/// 信用卡用（贷记卡）CC,银行卡(借记卡)DC，实名认证固定传DC
		/// </summary>
		public string card_type { get; set; }
	}

	[Serializable]
	public class bank_vail_resp : ApiResultMessage {
		public bank_vail_resp() {
		}
		/// <summary>
		/// 银行编号
		/// </summary>
		public string bank_code { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string bank_name { get; set; }
	}

	public class bank_info {
		public bank_info() {
		}
		/// <summary>
		/// 0成功
		/// </summary>
		public string err_code { get; set; }
		/// <summary>
		/// success
		/// </summary>
		public string reason { get; set; }
		/// <summary>
		/// success
		/// </summary>
		public bank_info_result result { get; set; }

		public class bank_info_result {
			public string Bankname { get; set; }
			public string Cardname { get; set; }
			public string Cardtype { get; set; }
			public string luhn { get; set; }
			public string binnum { get; set; }
			public string Abbreviation { get; set; }
		}
	}
}
